package net.wofly.sale.exchange.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import lombok.Data;

/**
 * 兑换内容
 * @author lign
 * @version 1.0
 * @created 25-五月-2018 16:46:52
 */
@Data
@Entity
@Table(name = "sale_exchange_cardexchangecontent")
public class CardExchangeContent {

	@Id
	private String cardExchangeContentID;
	private String cardExchangeID;
	private String exchangeTypeID;
	/**
	 * 兑换数量
	 */
	private Integer exchangeNum;
	/**
	 * 小计
	 */
	private Integer subtotal;
	private Long modifyDate;
	
	@Transient
	private ExchangeType exchangeType;

	public CardExchangeContent(){

	}
}//end CardExchangeContent